package cj.web.sc.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * TODO: add class/table comments
 */
public class SCOrderItems extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 3871691909438633648L;
	protected Integer id;
	protected Integer orderId;
	protected Integer goodsItemId;
	protected String goodsItemName;
	protected String goodsItemImage;
	protected Double goodsItemPrice;
	protected String propValueNames;
	protected Integer count;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAt;
	protected String updateUser;
	protected String updateAt;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getGoodsItemId() {
		return goodsItemId;
	}
	public void setGoodsItemId(Integer goodsItemId) {
		this.goodsItemId = goodsItemId;
	}
	public String getGoodsItemName() {
		return goodsItemName;
	}
	public void setGoodsItemName(String goodsItemName) {
		this.goodsItemName = goodsItemName;
	}
	public String getGoodsItemImage() {
		return goodsItemImage;
	}
	public void setGoodsItemImage(String goodsItemImage) {
		this.goodsItemImage = goodsItemImage;
	}
	public Double getGoodsItemPrice() {
		return goodsItemPrice;
	}
	public void setGoodsItemPrice(Double goodsItemPrice) {
		this.goodsItemPrice = goodsItemPrice;
	}
	public String getPropValueNames() {
		return propValueNames;
	}
	public void setPropValueNames(String propValueNames) {
		this.propValueNames = propValueNames;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((count == null) ? 0 : count.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result
				+ ((goodsItemId == null) ? 0 : goodsItemId.hashCode());
		result = prime * result
				+ ((goodsItemImage == null) ? 0 : goodsItemImage.hashCode());
		result = prime * result
				+ ((goodsItemName == null) ? 0 : goodsItemName.hashCode());
		result = prime * result
				+ ((goodsItemPrice == null) ? 0 : goodsItemPrice.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((orderId == null) ? 0 : orderId.hashCode());
		result = prime * result
				+ ((propValueNames == null) ? 0 : propValueNames.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		SCOrderItems other = (SCOrderItems) obj;
		if (count == null) {
			if (other.count != null)
				return false;
		} else if (!count.equals(other.count))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (goodsItemId == null) {
			if (other.goodsItemId != null)
				return false;
		} else if (!goodsItemId.equals(other.goodsItemId))
			return false;
		if (goodsItemImage == null) {
			if (other.goodsItemImage != null)
				return false;
		} else if (!goodsItemImage.equals(other.goodsItemImage))
			return false;
		if (goodsItemName == null) {
			if (other.goodsItemName != null)
				return false;
		} else if (!goodsItemName.equals(other.goodsItemName))
			return false;
		if (goodsItemPrice == null) {
			if (other.goodsItemPrice != null)
				return false;
		} else if (!goodsItemPrice.equals(other.goodsItemPrice))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (orderId == null) {
			if (other.orderId != null)
				return false;
		} else if (!orderId.equals(other.orderId))
			return false;
		if (propValueNames == null) {
			if (other.propValueNames != null)
				return false;
		} else if (!propValueNames.equals(other.propValueNames))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "SCOrderItems [id=" + id + ", orderId=" + orderId
				+ ", goodsItemId=" + goodsItemId + ", goodsItemName="
				+ goodsItemName + ", goodsItemImage=" + goodsItemImage
				+ ", goodsItemPrice=" + goodsItemPrice + ", propValueNames="
				+ propValueNames + ", count=" + count + ", deleteFlag="
				+ deleteFlag + ", createUser=" + createUser + ", createAt="
				+ createAt + ", updateUser=" + updateUser + ", updateAt="
				+ updateAt + "]";
	}
	

}
